@import "./Mater";

@media only screen and (min-width: 320px) {
    html {
        font-size: 62.5% !important;
    }
}

@media only screen and (min-width: 640px) {
    html {
        font-size: 125% !important;
    }

}

@media only screen and (min-width: 750px) {
    html {
        font-size: 150% !important;
    }
}

@media only screen and (min-width: 1242px) {
    html {
        font-size: 187.5% !important;
    }
}

//@font-face {
//  font-family: Regular;
//  src: url('../../icon/font/Regular.ttf');
//}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    //当用户点击iOS的Safari浏览器中的链接或JavaScript的可点击的元素时，覆盖显示的高亮颜色；iOS 1.1.1及更高版本的Safari浏览器可用。大部分android手机也是支持的，只是显示效果有所不同。
    -webkit-touch-callout: none; /*系统默认菜单被禁用*/
    //当你触摸并按住触摸目标时候，禁止或显示系统默认菜单。iOS 2.0及更高版本的Safari浏览器可用.Android尚不明确
    //-webkit-user-select: none; /*webkit浏览器*/
    -moz-user-select: none; /*火狐*/
    -ms-user-select: none; /*IE10*/
    user-select: none;
    //长按文字会不会被选中
}

html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    //滑动会有回弹，不生硬
}

h1, h2, h3, h4, h5, h6, p, ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

input, button {
    -webkit-touch-callout: none;
    -webkit-appearance: none;
    //改变按钮和其他控件的外观，使其类似于原生控件，去除系统默认appearance的样式,常用于IOS下移除原生样式，对应的firefox可以使用 -moz-appearance属性iOS 2.0及更高版本的Safari浏览器可用Android尚不明确
    user-select: none;
    -webkit-user-select: auto;
}

.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .8);
    display: flex;
    justify-items: center;
    align-items: center;
    animation: bg .5s;
.content {
    width: 80%;
    margin: auto;
    border-radius: .7rem;
    position: relative;
    background-color: #fff;
    animation: cotn .5s;
}
}

.BottomPopup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .8);
    display: flex;
    justify-items: flex-end;
    align-items: flex-end;
    align-content: flex-end;
    animation: bg .5s;
.content {
    width: 100%;
//margin: auto;
//border-radius: .7rem;
//position: relative;
    background-color: #fff;
    animation: cotn .5s;
}
}

.popups {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .8);
    display: flex;
    justify-items: center;
    align-items: center;
.content {
    width: 80%;
    margin: auto;
    border-radius: .4rem;
}
}

.positive {
    width: 100%;
    height: 100%;
    display: flex;
    justify-items: center;
    align-items: start;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500;
    background: rgba(0, 0, 0, .8);
}

.booksbodyer {
    padding: 0rem;
    margin-top: 1rem;
    box-sizing: border-box;
.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .4rem 1rem;
    margin-bottom: 1.5rem;
.left, .right {
    font-size: @fontSize15;
    color: @Master62;
i {
    font-size: 1.5rem;
}
}
.right {
    font-size: @fontSize15;
    color: @Master62;
i {
    position: relative;
    left: -.3rem;
    font-size: 1rem;
}
}
}
.body {
    box-sizing: border-box;
    padding: 0rem 1rem;
.books {
    display: flex;
    justify-content: flex-start;
//flex-direction: row;
    align-items: stretch;
    padding: 0 .5rem;
div {
    width: 40%;
    padding: 0;
    margin: 0 1rem;
img {
    width: 100%;
//box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
}
.bgs {
    box-shadow: none;
}
}
}
.bgssd {
    content: '';
    position: relative;
    top: 0.5rem;
    z-index: 150;
    width: 100%;
    height: 1.2rem;
    background-color: #fff;
}
.bottomts {
    position: relative;
    top: -2.1rem;
    z-index: 300;
    width: 100%;
    height: 3rem;
    //background: url("../../img/AllBooks/shu-1.png") no-repeat;
    background-size: 100%;
}
}
}

.animated {
    -webkit-animation-duration: .25s;
    animation-duration: .25s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@keyframes bg {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes cotn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes myfirst {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes myfirst {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes transy {
    0% {
        bottom: -10rem;
    }
    100% {
        bottom: 0;
    }
}

@-webkit-keyframes transy {
    0% {
        bottom: -10rem;
    }
    100% {
        bottom: 0;
    }
}

@keyframes transymode {
    0% {
        bottom: -30rem;
    }
    100% {
        bottom: 0;
    }
}

@-webkit-keyframes transymode {
    0% {
        bottom: -30rem;
    }
    100% {
        bottom: 0;
    }
}

@keyframes transyword {
    0% {
        bottom: -20rem;
    }
    100% {
        bottom: 0;
    }
}

@-webkit-keyframes transyword {
    0% {
        bottom: -20rem;
    }
    100% {
        bottom: 0;
    }
}

.iconfont.icon-bangdingshibai {
    font-size: 32px;
}

.iconfont.icon-tianjiachenggong {
    font-size: 32px;
}

.iconfont.icon-duanxin {
    font-size: 3.7rem;
}

.iconfont.icon-tianjiachenggong {
    font-size: 32px;
}

.picker-backdrop {
.picker-wrapper {
.picker-content {
.picker-helper:before {
    content: '';
    width: 100%;
    height: 38px;
    border-top: 1px solid transparent !important;
    border-bottom: 1px solid transparent !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
}
}
}

.bg-img {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.Vipfooter {
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 210;
    background-color: #fff;
    border-top: .1rem solid @MasterE6;
}

.mint-switch-input:checked + .mint-switch-core {
    border-color: @Mastercolor !important;
    background-color: @Mastercolor !important;
}

.mint-toast {
    min-width: 30.3% !important;
    min-height: 8.4rem !important;
    display: flex;
    justify-items: center;
    flex-direction: column;
    align-items: center;
}

.mint-toast-text {
    font-size: @fontSize15 !important;
    margin-top: -.9rem;
}

.mint-toast.is-placemiddle {
    padding-top: -.2rem !important;
}

.mint-toast-icon {
    margin-top: -.4rem !important;
}

.loading-default {
    position: relative;
    border: 1px solid @Mastercolor !important;
    animation: loading-rotating ease 1.5s infinite;
&:before {
 @size: 6px;
     content: '';
     position: absolute;
     display: block;
     top: 0;
     left: 50%;
     margin-top: -@size/2;
     margin-left: -@size/2;
     width: @size;
     height: @size;
     background-color: #fff !important;
     border-radius: 50%;
 }
&:after {
 @size: 6px;
     content: '';
     position: absolute;
     display: block;
     bottom: -3px;
     left: 50%;
     margin-top: -@size/2;
     margin-left: -@size/2;
     width: @size;
     height: @size;
     background-color: #fff !important;
     border-radius: 50%;
 }
}

// spiral spinner
   .load-pic-icon .mint-toast-icon {
       font-size: 3.5rem;
       animation: loading-rotating 2s linear infinite;
   }

// rotate animation
@keyframes loading-rotating {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
